echo off
rem %1 : path to mission resaver
rem %2 : Rof data path (with quotes)
rem %3 :  path and name of the mission (with quotes)
rem
rem make the right drive current 
%~d1
rem cd path to mission resaver 
cd %1
rem Launch mission resaver with %3 : Rof data path and %4 : path and name of the mission
MissionResaver.exe -d %2 -f %3

rem first path shold be aimed on rise of flight main data folder
rem second path shold be aimed on mission file which should be re-saved
rem file itself will be re-saved, text localization files, binary mission file, list file will be re-saved too
